Name: Produce-Consume
Description
What does the server produce exactly?
Score: 75
Vulnerability
The flag is displayed if you use the PHPSESSID from produce.php to consume.php.
Exploit
Script in ./sol/solution.sh
Environment
Apache web server. (deployable as a Docker container using files in deploy/ folder)
Deploy
Deployment is done via Docker using the Dockerfile and support files in the deploy/ folder.
Copy the challenge folder to the remote hosting system, then:
- enter the
srcfolder and runmake. This will create apublic/folder with the contents of the website. - enter the
deploy/folder and runmake run. This will create and deploy the Docker container with the proper port redirection in place.
If you need to update the image and container, first use make clean to remove the old container, then use make to update the image (and the container).
It is not possible to update the container without updating the image first.